package net.maku.express.biza.controller.collectExpress.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;

import java.util.Date;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Author wenyignying'
 * @Description:
 * @Date
 */
@Schema(description = "查询")
@Data
public class CollectPackRequestVO extends CollectExpressBasePageVO  {

    @Schema(description = "客户id")
    private Integer customId;

    @Schema(description = "销售id")
    private Integer salesId;

    @Schema(description = "客服id")
    private Integer buseinessId;

    @Schema(description = "始发地港口")
    private Integer originId;

    @Schema(description = "目的地港口")
    private Integer destId;

    @Schema(description = "始发地仓")
    private Integer hourseOrigin;

    @Schema(description = "目的地仓")
    private Integer hourseDest;

    @Schema(description = "快递单号")
    private String expressNo;

    @Schema(description = "收据单号")
    private String collectNo;

    @Schema(description = "业务类型:1:空运,2:海运,3:陆运")
    private String businessState;

    @Schema(description = "发货人/收货人")
    private String sendor;

    @Schema(description = "货名")
    private String goodsName;

    /**
     * 货物状态
     */
    @Schema(description = "货物状态:0:未收货,1:已收货,2:已装箱,3:档口已出仓,4:海外已入仓")
    private Integer goodsState;

    @Schema(description = "货物编号")
    private String collectSmallNo;

    @Schema(description = "开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startDate;

    @Schema(description = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;

}
